package com.example.springbootusecase.mapper;

import com.example.springbootusecase.bo.Product;
import com.example.springbootusecase.bo.ProductEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductEsRepository extends ElasticsearchRepository<ProductEs, Integer> {
    ProductEs findByName(String name);
}
